package com.visizen.wisdomclass.server.model.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.visizen.wisdomclass.server.model.WcAttachment;
import com.visizen.wisdomclass.server.model.WcCourse;
import com.visizen.wisdomclass.server.model.WcHomework;

import java.util.List;

/**
 * @author chenjian
 */
public class HomeworkExt extends WcHomework {
    @JSONField(serialize = false)
    private WcCourse course;
    @JSONField(serialize = false)
    private List<WcAttachment> attachments;
    private int viewNum;
    private int viewTotalNum;
    private int feedbackNum;
    private int feedbackTotalNum;

    public List<WcAttachment> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<WcAttachment> attachments) {
        this.attachments = attachments;
    }

    public int getViewNum() {
        return viewNum;
    }

    public void setViewNum(int viewNum) {
        this.viewNum = viewNum;
    }

    public int getViewTotalNum() {
        return viewTotalNum;
    }

    public void setViewTotalNum(int viewTotalNum) {
        this.viewTotalNum = viewTotalNum;
    }

    public int getFeedbackNum() {
        return feedbackNum;
    }

    public void setFeedbackNum(int feedbackNum) {
        this.feedbackNum = feedbackNum;
    }

    public int getFeedbackTotalNum() {
        return feedbackTotalNum;
    }

    public void setFeedbackTotalNum(int feedbackTotalNum) {
        this.feedbackTotalNum = feedbackTotalNum;
    }

    public WcCourse getCourse() {
        return course;
    }

    public void setCourse(WcCourse course) {
        this.course = course;
    }
}
